package com.reiuy.service.impl;

import com.reiuy.dao.TeacherDao;
import com.reiuy.entity.Teacher;
import com.reiuy.service.TeacherService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class TeacherServiceImpl implements TeacherService {

    @Resource
    private TeacherDao teacherDao;

    @Override
    public List<Map<String,String>>showAllTeachers() {
        return teacherDao.selcetAllTeachers();
    }
}
